﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Sistema.WF.Componentes.Controles
{
    public class R2DateTimePicker : DateTimePicker
    {
        public R2Configuracoes _conf = new R2Configuracoes();
        public R2DateTimePicker()
        {
            Size = new System.Drawing.Size(83, 20);
            this.CalendarTitleBackColor = System.Drawing.Color.Transparent;
            CustomFormat = "dd/mm/yyyy";
            Format = System.Windows.Forms.DateTimePickerFormat.Custom;
            MaxDate = new System.DateTime(2050, 12, 31, 0, 0, 0, 0);
            MinDate = new System.DateTime(1900, 01, 01, 0, 0, 0, 0);
            Font = _conf.Fonte;
        }
    }
}
